Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump Express to v5 #10310

Merged
merged 6 commits into from
Oct 22, 2024
Merged

bump Express to v5 #10310

merged 6 commits into from
Oct 22, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Oct 22, 2024

evergreen

Description

#10303 failed on forwarding the express patch. That patch is to work around #8513 which is still a problem in the latest 4.x of Express:
https://github.com/expressjs/express/blob/4.x/lib/router/index.js#L519

Fortunately, they recently released a v5
https://github.com/expressjs/express/releases/tag/v5.0.0

This bumps the two packages that use express to use that latest version.

For the solo package, some changes were needed to the path expression, explained in https://expressjs.com/en/guide/migrating-5.html#path-syntax

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

Should the research on v4 vs v5 go in endojs/endo#2037 ?

Testing Considerations

CI

Upgrade Considerations

none, doesn't run on chain

@turadg turadg requested a review from a team as a code owner October 22, 2024 17:17
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When CI passes, this should be good to go!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run cd agoric-sdk && yarn to regenerate the yarn.lock, since the committed yarn.lock is not entirely fresh, causing CI failures.

Copy link

cloudflare-workers-and-pages bot commented Oct 22, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: f6d71a7
Status: ✅  Deploy successful!
Preview URL: https://015ec77c.agoric-sdk.pages.dev
Branch Preview URL: https://ta-hardened-express.agoric-sdk.pages.dev

View logs

@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label Oct 22, 2024
@mergify mergify bot merged commit cfab0b8 into master Oct 22, 2024
80 checks passed
@mergify mergify bot deleted the ta/hardened-express branch October 22, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants